a5_sass_string Function

Syntax

dim result as c = a5_sass_string(txtIn as c [, flagStrict = .f. [, flagReturnErrors = .f.]])

Arguments

txtInCharacter

The sass to parse.

flagStrictLogical

Default = .f.. If .t. and an error is encountered while parsing the sass, returns an empty string. If .f. and an error is encountered while parsing the sass, returns the original input. Does not affect the returned value if flagReturnErrors is .t..

flagReturnErrorsLogical

Default = .f.. If .t., the function returns the parse errors. If .f., returns the processed sass.

Returns

result Character

If flagReturnErrors is .f., returns the processed SASS. If flagReturnErrors is .t., returns the errors from the parser. If no errors, returns an empty string.

Description

Parses a sass string. Internal Use Only.

Limitations

Internal Use Only